#SPDB_Informix_DBSPI_1001
# critical =1  正常 =0
# "0" : Informix is down
# "1" : 正常
SPDB_Informix_DBSPI_1001="1"
oninit_num=$(ps -ef | grep oninit | wc -l)
if [ $oninit_num -eq 0 ]
then
#echo "Informix is down"
SPDB_Informix_DBSPI_1001="0"
fi
echo SPDB_Informix_DBSPI---"$SPDB_Informix_DBSPI_1001